/* =s Reset (by YUI 3) */
html {
    color: #000;
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
fieldset, img {
    border: 0;
}
address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal;
}
li {
    list-style: none;
}
caption, th {
    text-align: left;
}
h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}
q:before, q:after {
    content: '';
}
abbr, acronym {
    border: 0;
    font-variant: normal;
}
sup {
    vertical-align: text-top;
}
sub {
    vertical-align: text-bottom;
}
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}
input, textarea, select {
    *font-size: 100%;
}
legend {
    color: #000;
}
header, section, footer, nav {
    display: block;
}
/* =e Reset */

.none {
    display: none !important;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    font-size: 0;
}
.clearfix {
    display: inline-block;
}
* html
.clearfix {
    height: 1%;
}
.Clearfix {
    display: block;
}

.none {
    display: none;
}

#page {
    /*display: none;*/
    position: relative;
    width: 960px;
    height: 618px;
    font-family: "Microsoft YaHei";
    overflow: hidden;
}

#main {

    position: absolute;
    top: 66px;
    left: 0px;
    width: 100%;
    padding: 10px 0px 0px 0px;
    height: 600px;
}

#navbar {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 10;
}

#backArrow {
    position: absolute;
    left: 40px;
    top: 10px;
    display: block;
    width: 40px;
    height: 40px;
    background: url(../img/backArrow.png) no-repeat;
    cursor: pointer;
}

#backArrow:hover {
    background: url(../img/backArrow_hover.png) no-repeat;
}

#tabWrapper {
    margin: 10px 0px 0px 170px;
}

#tabWrapper .tab {
    float: left;
    cursor: pointer;
}

#tabWrapper .tab a {
    display: block;
    height: 100%;
}

#tab_shop {
    width: 224px;
    height: 50px;
    background: url(../img/index_tab_shop.png) no-repeat;
}

#tab_shop:hover {
    background: url(../img/index_tab_shop_hover.png) no-repeat;
}

#tab_shop.active {
    background: url(../img/index_tab_shop_active.png) no-repeat;
}

#tab_talent {
    width: 244px;
    height: 50px;
    margin-left: 140px;
    background: url(../img/index_tab_talent.png) no-repeat;
}

#tab_talent:hover {
    background: url(../img/index_tab_talent_hover.png) no-repeat;
}

#tab_talent.active {
    background: url(../img/index_tab_talent_active.png) no-repeat;
}

#footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    display: table;
    z-index: 19;
}

#userInfo {
    display: table-cell;
    vertical-align: middle;
}

#userFace {
    display: block;
    float: left;
    height: 58px;
    width: 58px;
    border: 2px solid rgb(3,106,144);
    border-radius: 34px;
    margin: 0px 0px 0px 30px;
}

#userName {
    display: block;
    float: left;
    color: white;
    font-size: 20px;
    margin: 0px 0px 0px 18px;
    height: 62px;
    line-height: 68px;
}

#startButton {
    float: right;
    position: relative;
    top: 2px;
    right: 10px;
    cursor: pointer;
    width: 254px;
    height: 104px;
    background: url(../img/gameStart.png) no-repeat;
}

#startButton:not(.disabled):hover {
    background: url(../img/gameStart_hover.png) no-repeat;
}

#startButton:not(.disabled):active {
    background: url(../img/gameStart_active.png) no-repeat;
}

#startButton.disabled {
    cursor: default;
    background: url(../img/gameStart_disabled.png) no-repeat;
}

#startButton.starting:not(.disabled){
    cursor: default;
    background: url(../img/gameStart_starting.png) no-repeat;    
}

.gameIcon {
    display: inline-block;
    margin-top: -7px;
    width: 24px;
    height: 35px;
}

.icon_diablo {
    background: url(../img/icon_diablo.png) no-repeat;
}

.icon_wow {
    background: url(../img/icon_wow.png) no-repeat;
}

.icon_sc {
    background: url(../img/icon_sc.png) no-repeat;
}

.statusImg {
    display: none;
}

#disabled_mask {
    position: absolute;
    top: 57px;
    left: 9px;
    right: 10px;
    bottom: 66px;
    background: url(../img/disabled_bg.jpg) no-repeat;
    z-index: 18;
    display: none;
}

#disabled_mask .text {
    color: white;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

#disabled_mask .text span{
    cursor:pointer;
    color:#2aa8fd;
}

#disabled_mask .text span:active{
    opacity: 0.8;   
}

#mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    background-color: #000;
    opacity: 0.5;
}

.modal {
    position: absolute;
    top: 50%; /*经典居中*/
    left: 50%;
    /*默认值*/
    width: 750px;
    margin-left: -375px;
    height: 400px;
    margin-top: -200px;
    background-color: #fff;
    padding: 0px 0px 0px 0px;
    /*end默认值*/

    /*border: 2px solid rgb(45,77,175);*/
    -webkit-transition: opacity .3s linear, top .3s ease-out;
    -moz-transition: opacity .3s linear, top .3s ease-out;
    -o-transition: opacity .3s linear, top .3s ease-out;
    transition: opacity .3s linear, top .3s ease-out;
    z-index: 50;
    color: white;
}

.modal.in {
    opacity: 1;
}

.modal.out {
    opacity: 0;
    top: -100% !important;
}

.modal .close {
    display: block;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    background: url(../img/modal_close.png);
    cursor: pointer;
}

.modal .close:hover {
    outline: 1px solid rgb(185,228,236);
}

.modal .close:active {
    opacity: 0.8;
}

.modal_head, .modal_body, .modal_foot {
    position: relative;
}

#modal_option {
    width: 362px;
    height: 206px;
    margin-left: -181px;
    margin-top: -103px;
    background: url(../img/modal_option_bg.png) no-repeat;
    overflow: hidden;
    z-index: 1000;
}

#modal_option .modal_body div {
    position: absolute;
    width: 85px;
    height: 27px;
    cursor: pointer;
}

#modal_option .modal_body div span {
    position: absolute;
    background-color: rgb(43,132,255);
    width: 10px;
    height: 10px;
    top: 8px;
    left: 11px;
    display: none;
}

#modal_option .modal_body div.active span {
    display: inline;
}

#modal_talent_detail {
    width: 798px;
    height: 566px;
    margin-left: -399px;
    margin-top: -283px;
    background: url(../img/modal_talent_detail_bg.png) no-repeat;
    overflow: hidden;
}

#modal_talent_detail .modal_head {
    margin: 5px 0px 0px 20px;
}

#modal_talent_detail .modal_head .face {
    width: 32px;
    height: 32px;
    vertical-align: bottom;
}

#modal_talent_detail .modal_head span:not(.close) {
    display: inline-block;
    height: 32px;
    line-height: 32px;
    color: rgb(133,193,255);
    font-size: 14px;
}

#modal_talent_detail .modal_body {
    margin: 5px 0px 0px 5px;
}

#modal_talent_detail .modal_body .mapList {
    padding-left: 50px;
}

#modal_talent_detail .modal_body .mapList li {
    float: left;
    width: 120px;
    height: 35px;
    text-align: center;
    padding-top: 15px;
    margin-right: 15px;
    font-size: 18px;
    font-weight: bold;
    color: rgb(168,157,206);
    cursor: pointer;
}

#modal_talent_detail .modal_body .mapList li:hover {
    color: white;
}

#modal_talent_detail .modal_body .mapList li.active {
    color: white;
    background: url(../img/map_active.png);
}

#modal_talent_detail .modal_body .mapList .color {
    position: relative;
    top: 0px;
    display: inline-block;
    width: 12px;
    height: 12px;
    -webkit-border-radius: 6px;
    background-color: white;
    margin: 0px 15px 0px 0px;
}

#modal_talent_detail .modal_body .planListWrapper {
    float: left;
    margin: 15px 0px 0px 15px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 320px;
    height: 390px;
}

#modal_talent_detail .modal_body .planList {
    padding-left: 15px;
}

#modal_talent_detail .modal_body .planList li {
    position: relative;
    width: 240px;
    padding: 8px 20px;
    border: 1px solid rgb(47,85,190);
    margin-top: 10px;
    cursor: pointer;
}

#modal_talent_detail .modal_body .planList li .name {
    display: block;
    color: white;
    font-size: 18px;
    margin-bottom: 5px;
}

#modal_talent_detail .modal_body .planList li .description {
    display: block;
    color: rgb(144,164,222);
    font-size: 13px;
}

#modal_talent_detail .modal_body .planList li .selected {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 79px;
    height: 23px;
    background: url(../img/plan_selected.png) no-repeat;
    display: none;
}

#modal_talent_detail .modal_body .planList li.active, #modal_talent_detail .modal_body .planList li:hover {
    background-color: rgb(14,17,68);
}

#modal_talent_detail .modal_body .planList li.selected .selected {
    display: inline;
}

#modal_talent_detail .modal_body .talentList {
    float: right;
    margin: 18px 30px 0px 0px;
    width: 380px;
    height: 385px;
    text-align: center;
    color: rgb(150,146,248);
    font-size: 20px;
}

#modal_talent_detail .modal_body .talentList tr .talentImg {
    width: 32px;
    height: 32px;
    opacity: 0.5;
}

#modal_talent_detail .modal_body .talentList tr .talentImg.active {
    width: 40px;
    height: 40px;
    opacity: 1;
    border: 1px solid #fff;
    -webkit-box-shadow: 0px 0px 10px #fff;
}

#modal_talent_detail .modal_foot .selectPlan {
    position: absolute;
    right: 160px;
    top: 5px;
    width: 121px;
    height: 33px;
    background: url(../img/selectPlan.png);
    cursor: pointer;
}

#modal_talent_detail .modal_foot .selectPlan:hover:not(.disabled) {
    background: url(../img/selectPlan_active.png);
}

#modal_talent_detail .modal_foot .selectPlan:active:not(.disabled) {
    opacity: 0.8;
}

#modal_talent_detail .modal_foot .selectPlan.disabled {
    background: url(../img/selectPlan_disabled.png);
    opacity: 0.3;
    cursor: default;
}

#first_shop_tips_modal {
    width: 208px;
    height: 121px;
    margin-left: -104px;
    margin-top: -60px;
    background: url(../img/first_shop_tips.png) no-repeat;
    overflow: hidden;
    left: 565px;
    top: 200px;
}

#first_talent_tips_modal {
    width: 287px;
    height: 268px;
    margin-left: -144px;
    margin-top: -134px;
    background: url(../img/first_talent_tips.png) no-repeat;
    overflow: hidden;
    left: 675px;
    top: 250px;
}

#first_shop_tips_modal .modal_foot .close {
    width: 90px;
    height: 31px;
    top: 70px;
    right: 45px;
    background: url(../img/ikonw.png) no-repeat;
}

#first_talent_tips_modal .modal_foot .close {
    width: 90px;
    height: 31px;
    top: 222px;
    right: 26px;
    background: url(../img/ikonw.png) no-repeat;
}

.modal .modal_foot .button:hover {
    cursor: pointer;
    outline: none;
    opacity: 0.9;
}

.modal .modal_foot .button:active {
    opacity: 0.8;
}

#update1_modal, #update2_modal, #update3_modal {
    width: 520px;
    height: 382px;
    margin-left: -260px;
    margin-top: -191px;
    overflow: hidden;
}

#update1_modal {
    background: url(../img/modal_update1_bg.png) no-repeat;
}

#update2_modal {
    background: url(../img/modal_update2_bg.png) no-repeat;
}

#update3_modal {
    background: url(../img/modal_update3_bg.png) no-repeat;
}

#update1_modal .modal_body .newFeature {
    margin: 110px 0px 0px 50px;
}

#update1_modal .modal_body .newFeature li {
    margin-bottom: 10px;
}

#update1_modal .modal_foot, #update2_modal .modal_foot, #update3_modal .modal_foot {
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
}

#update1_modal .modal_foot .update_button {
    position: absolute;
    width: 121px;
    height: 39px;
    top: -60px;
    left: 350px;
    background: url(../img/update_button.png) no-repeat;
}

#update2_modal .modal_body {
    position: absolute;
    left: 0px;
    top: 65px;
    width: 100%;
}

#update2_modal .modal_body .carousel {
    margin: 0px 0px 0px 10px;
}

#update2_modal .modal_foot .progressWrapper {
    position: absolute;
    width: 90%;
    left: 5%;
    top: -60px;
}

#update2_modal .modal_foot .content {
    position: relative;
    width: 100%;
    height: 7px;
    background-color: rgb(25,50,126);
}

#update2_modal .modal_foot .content .expand {
    position: absolute;
    left: 0px;
    top: 0px;
    background-color: rgb(68,154,255);
    height: 3px;
    margin: 2px 0;
    box-shadow: 0px 0px 10px 1px rgba(0,198,255,0.7);
    -webkit-transition: width 0.5s ease-in;
    width: 0%;
}

#update2_modal .modal_foot .percent {
    position: absolute;
    left: 210px;
    top: -45px;
}

#update3_modal .modal_foot .restart_button {
    position: absolute;
    width: 121px;
    height: 39px;
    top: -60px;
    left: 350px;
    background: url(../img/restart_button.png) no-repeat;
}

#update_gameRunning_modal {
    width: 362px;
    height: 242px;
    margin-left: -181px;
    margin-top: -121px;
    background: url(../img/gameRunning.png) no-repeat;
}

#update_gameRunning_modal .retry_button {
    position: absolute;
    top: 175px;
    left: 45px;
    width: 121px;
    height: 39px;
    background: url(../img/reupdate.png) no-repeat;
}

#update_gameRunning_modal .cancel_button, #update_error_modal .cancel_button {
    position: absolute;
    top: 175px;
    left: 205px;
    width: 121px;
    height: 39px;
    background: url(../img/cancel.png) no-repeat;
}

#update_error_modal {
    width: 362px;
    height: 242px;
    margin-left: -181px;
    margin-top: -121px;
    background: url(../img/updateError.png) no-repeat;
}

#update_error_modal .redownload_button {
    position: absolute;
    top: 175px;
    left: 45px;
    width: 121px;
    height: 39px;
    background: url(../img/reupdate.png) no-repeat;
}

#function_disabled {
    display: block;
    width: 612px;
    margin: 0px auto;
}

.tips {
    position: absolute;
    display: none;
    top: 0px;
    left: 0px;
    max-width: 200px;
    font-size: 13px;
    color: white;
    background-color: rgba(23,0,46,0.9);
    -webkit-box-shadow: 0px 0px 2px 2px #000;
    padding: 10px;
    opacity: 0;
    z-index: 999;
    -webkit-transition: opacity .3s ease-out;
}

#tips_horse {

}

#tips_talent span {
    display: block;
}

#tips_talent .name {
    font-size: 15px;
    font-weight: bold;
}

.tips.in {
    display: block;
    opacity: 1;
}
